<template>
  <div class="main">
      <div class="main-content">
          <p style="height: 10000px"></p>
      </div>
      <ul class="tab-bar">
          <li>首页</li>
          <li>购物车</li>
          <li>分类</li>
          <li>我的</li>
      </ul>
  </div>
</template>

<script>
export default {

}

</script>
<style>
.main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.main-content {
    flex: 1;
    overflow: scroll;
}
.tab-bar {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
}
ul, li {
    list-style: none;
}
</style>